<template>
  <div id="shujutu" ref="shujutu">
  </div>
</template>
<script>
export default {
	name:'Shujutu',
  data () {
    return {

    }
  },
  components: {

  },
  mounted () {
	  this.revEcharts1()
  },
  methods: {
	  revEcharts1(){
		  const echarts = require('echarts')
		  const myChart1 = echarts.init(this.$refs.shujutu)
		  const option1 = {
    xAxis: {
        type: 'category',
        boundaryGap: false,
        data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
    },
    yAxis: {
        type: 'value'
    },
    series: [{
        data: [820, 932, 901, 934, 1290, 1330, 1320],
        type: 'line',
        areaStyle: {}
    }]
};
			myChart1.setOption(option1)
	  }
  }
}
</script>
<style lang="scss">
  #shujutu{
	  width: 170px;
	  height: 80px;
  }
</style>
